<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script type="text/javascript" src="jquery-1.11.3.js"></script>
		<script type="text/javascript">
			function fun() {
				var jqueryObj = $("li:eq(0)");//jQuery对象
				console.log(jqueryObj instanceof jQuery);//true
				//jqueryObj对象是不是jQuery这个类的实例
				
				var domObject = document.getElementsByTagName("li")[1];//dom对象
				console.log(domObject instanceof jQuery);//false
				console.log(domObject instanceof HTMLElement);//true
			}
		</script>
	</head>
	<body>
		<ul>
			<li>张三</li>
			<li>李四</li>
			<li>王五</li>
		</ul>
		<input type="button" onclick="fun()" value="测试" />
	</body>
</html>
